﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace Sito.Model
{
    class Bug
    {
        public enum BugPriority
        {
            Proposal,
            Low,
            Med,
            High,
            Emergency
        }

        public enum BugStatus
        {
            Assigning,
            Evaulting,
            Fixing,
            Fixed
        }

        [BsonId]
        public ObjectId _id { get; set; }
        public string Author;
        public string Description;
        public DateTime Date;
        public string Guid;
        public BugPriority Priority;
        public BugStatus Status;
        public string AssignedTo;
        public string[] Changes;
    }
}
